//////////////////////////////////////////////////////////////////////////
//	File: CHealAlly.h
//
//	Author: Steven Seufert
//	Date:	January 13, 2012
//
//	Purpose: To define the Heal Ally class spell 
/////////////////////////////////////////////////////////////////////////

#ifndef	CHEAL_ALLY_H
#define CHEAL_ALLY_H

#include "CSpellBase.h"
#include "Messaging\IListener.h"

class CPlayer;

class CHealAlly : public CSpellBase, public IListener
{
private:
	int		m_nSoundID[2];			//cast and collision
	int		m_nHealAmount;			// How much does the spell heal an ally?
	float	m_fAge;					// How long since the spell was cast?
	float	m_fTRange;				// How long until the ranged spell disappates?
	// images 
	// animations
public:
	// constructor
	CHealAlly();

	// destructor
	~CHealAlly();

	void Cast(CPlayer* caster);

	void Update(float fElapsedTime);
	void Render(void);
	bool CheckCollision(IBaseInterface * pBase );

	void HandleEvent(CEvent* pEvent);
};
#endif